package com.jia.train.member.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.member.request.PassengerQueryRequest;
import com.jia.train.member.request.PassengerSaveRequest;
import com.jia.train.member.response.PassengerQueryResponse;
import com.jia.train.member.response.PassengerSaveResponse;

import java.util.List;

public interface PassengerService {

    PassengerSaveResponse insert(PassengerSaveRequest request);

    PageResponse<PassengerQueryResponse> selectPage(PassengerQueryRequest request);

    void deletePassenger(Long id);

    List<PassengerQueryResponse> selectList();
}
